/**
 * CopyRight © 2012 USTC SINOVATE SOFTWARE CO.LTD All Rights Reserved.
 */

package com.cmcc.zysoft.infocollection.controller;

import java.util.List;
import java.util.Map;
import javax.annotation.Resource;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import com.cmcc.zysoft.infocollection.common.BaseController;
import com.cmcc.zysoft.infocollection.service.ProvincesPcService;

/**
 * @author 袁凤建
 * <br />邮箱: yuan.fengjian@ustcinfo.com
 * <br />描述: ProvincesController.java
 * <br />版本: 1.0.0
 * <br />日期: 2013-9-3 上午8:53:27
 * <br />CopyRight © 2012 USTC SINOVATE SOFTWARE CO.LTD All Rights Reserved.
 */

@Controller
@RequestMapping("/pc/provinces")
public class ProvincesController extends BaseController {

	/**
	 * 属性名称: provincesPcService.
	 * 类       型: ProvincesPcService.
	 */
	@Resource
	private ProvincesPcService provincesPcService;
	
	/**
	 * 获取省份信息.
	 * @return List<Map<String, Object>>
	 */
	@RequestMapping("/getProvinces.htm")
	@ResponseBody
	public List<Map<String, Object>> provinces() {
		return this.provincesPcService.provinces();
	}
}